/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.business.customer.facade.order.partner;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

/**
 * <b>(PartnerCreateOrder)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2021/7/28
 */
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class PartnerCreateOrder extends PartnerServiceOrderBase {
    /** 合作伙伴名字 */
    @NotEmpty
    @Size(max = 24)
    String partnerName;
    /** 合作伙伴缩写,便于记忆,随机4个字母 */
    String abbreviation;
    /** 指定生成id时使用 */
    String partnerId;
}
